import {Controller, Get} from '@nestjs/common';
import {BaseController} from "@/modules/_/base/base.controller";
import {Company} from "@/entitys/base/company.entity";
import {CompanyService} from "@/modules/company/service/company.service";

@Controller("/company")
export class CompanyController extends BaseController<Company>{
    constructor(private service: CompanyService) {
        super(service);
    }

    @Get("/test")
    test() {
        this.service.test();
    }
}
